package chai.ning.extend;

// 对于通过 extends 显式声明了父类的类，其【直接父类】就是 extends 之后的类
public class MotorVehicles extends Vehicle {

	protected String engine ; // 引擎
	protected String locator ; // 定位
	
	public static void main(String[] args) {
		
		MotorVehicles mv = new MotorVehicles();
		mv.wheel = "铁轮" ;
		mv.frame = "铁架" ;
		mv.engine = "马达" ;
		mv.locator = "北斗" ;
		
		mv.move();
		
	}
	
}
